package com.luxf.base.domainevent.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 领域事件对象
 *
 * @author fast66
 * 2021-05-22 8:34
 **/
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DomainEventNotice {
    private Map<String, String> header;
    private String payload;
}
